package com.lovo.game.imp;

/**
 * 士兵
 */
public class Soldier extends Role{

    public Soldier() {
    }

    public Soldier(String name, int level) {
        super(name, level);
    }

    /**
     * 防御
     * @param role
     */
    public void defend(Role role) {
        System.out.println(getName() + "防御了" + role.getName() + "的攻击");
    }
}
